package org.mybatis.generator;

import org.mybatis.generator.api.ShellRunner;
import org.mybatis.generator.extend.MyTestRun;

/**
 * @author yanheng
 * @data 2019/11/30 16:26
 */
public class Execute {
    public static void main(String[] args) {
        String config = Execute.class.getClassLoader().getResource("generatorConfig.xml").getFile();
        String[] arg = { "-configfile", config, "-overwrite" };
        ShellRunner.main(arg);
    }
}
